﻿using Microsoft.AspNetCore.Mvc;
using MinimalistFoodStreet.BackEnd.Infrastructure.EFCore;
using Newtonsoft.Json;

namespace MinimalistFoodStreet.BackEnd.Api.Api.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class BaseController : ControllerBase
    {
        public Account _account;
        public Administrator _administrator;
        public Supplier _supplier;
        public Businesss _business;
        protected IActionResult Send(object o)
        {
            return Ok(JsonConvert.SerializeObject(o));
        }
    }
}